package com.alibaba.api.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account implements Serializable {

    @TableId(value = "account_id", type = IdType.AUTO)
    private Long accountId;//账户id',

    private double balance;//账户余额',

    @TableField("create_time")
    private Date createTime;//T '创建时间',

    @TableField("update_time")
    private Date updateTime;//T '更新时间',

    @TableField("account_name")
    private String accountName;//'账户名',
}
